package com.netty.pro.netty.groupChat;

import io.netty.channel.ChannelHandlerContext;
import io.netty.channel.SimpleChannelInboundHandler;

/**
 * @author xuzn
 * @ClassName: GroupChatClientHandler
 * @ProjectName netty-pro
 * @date 2020/3/15/10:58
 */
public class GroupChatClientHandler extends SimpleChannelInboundHandler<String> {

  @Override
  protected void channelRead0(ChannelHandlerContext ctx, String msg) throws Exception {
    System.out.println(msg.trim());
  }
}
